package com.example.springbootpetstoredemo.Mapper;

import com.example.springbootpetstoredemo.Pojo.IndexInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface IndexMapper {
    IndexInfo getIndexInfo();

    void updateIndexStoreCard(@Param("newName")String newName,@Param("newInfo")String newInfo,@Param("new_description")String new_description,@Param("oldName")String oldName);

    void updateIndexStoreInformation(@Param("managerInfo")String managerInfo,@Param("locationInfo")String locationInfo,
                                    @Param("phoneInfo")String phoneInfo,@Param("emailInfo")String emailInfo,@Param("validateInfo")String validateInfo,
                                     @Param("storeName")String storeName);
}
